package structor

import (
	"gopkg.in/mgo.v2/bson"
)

type Student struct {
	Id     string "_id"
	Sname  string
	Passwd string
	Sclass string
}

type Key struct {
	Id    string "_id"
	Cid   string
	Time  int
	Tmp   string
	Signs string
}

type KeyForUpdate struct {
	Id    string "_id"
	Cid   bson.ObjectId
	Time  int
	Tmp   string
	Signs string "signs"
}

type SC struct {
	Student string
	Course  bson.ObjectId
	Signup  []SP
}
type SP struct {
	Id   string "_id"
	Time int
}
